package com.inspectortime.service.search;

import java.util.List;

import com.inspectortime.domain.InspectorCompany;

/**
 * Data access object used to search for Inspector Companies based on 
 * various criteria
 * 
 * @author bones
 *
 */
public interface InspectorSearchDao {
	
	/**
	 * @return Inspector Companies with a name like companayName
	 */
	List<InspectorCompany> searchInspectorCompanyByName(String companyName);
	
	/**
	 * @return Inspector Companies with an inspector with a name like firstName lastName
	 */
	List<InspectorCompany> searchInspectorCompanyByInspectorName(String firstName, String lastName);
	
	/**
	 * @return Inspector Companies with a Realtor with a name like firstName lastName
	 */
	List<InspectorCompany> searchInspectorCompanyByRealtorName(String firstName, String lastName);
	
	/**
	 * @return Inspector Companies with a Realtor who's company name is like companyName
	 */
	List<InspectorCompany> searchInspectorCompanyByRealtorCompanyName(String companyName);

}